package cn.itcast.test;

import org.junit.Test;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Date;

public class DataTime {
    @Test
    public void test01(){
        //拿到毫秒
        Date date = new Date();
        System.out.println(date.getTime());
    }
}
